import ListButton from './ListButton';
export default class OrderListButton extends ListButton {
  _init() {
    let result = super._init.call(this);
    if (this.editor.util.os.mac) this.title = `${this.title} ( Cmd + / )`;
    else {
      this.title = `${this.title} ( ctrl + / )`;
      this.shortcut = 'ctrl+/';
    }
    return result;
  }
}

OrderListButton.prototype.type = 'ol';
OrderListButton.prototype.name = 'ol';
OrderListButton.prototype.icon = 'list-ol';
OrderListButton.prototype.htmlTag = 'ol';
OrderListButton.prototype.shortcut = 'cmd+/';